// 提供一个HTTP服务

package tokyo_main

import (
    "net/http"

    "tokyo/api"
)


func HttpNode() {
    // 开启HTTP服务
    http.HandleFunc("/get_question", api.GetQuestion)
    http.HandleFunc("/get_result", api.GetResult)
    http.ListenAndServe(":8080", nil)
}
